// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.MessageDao;
import com.liuxinlong.modules.entity.MessageConfiguration;
import com.liuxinlong.modules.mapper.MessageMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2022年12月12日
 */
@Service
public class MessageDaoImpl extends ServiceImpl<MessageMapper, MessageConfiguration> implements MessageDao {

	@Override
	public List<MessageConfiguration> pageMessageList(Map<String, Object> queryParam) {
		return baseMapper.pageMessageList(queryParam);
	}

	@Override
	public int getMessageCount(Map<String, Object> queryParam) {
		return baseMapper.getMessageCount(queryParam);
	}

	@Override
	public List<MessageConfiguration> queryPendingList(String currentTime) {
		return baseMapper.queryPendingList(currentTime);
	}

}
